using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;

/// <summary>
/// Summary description for MonHocBUS
/// </summary>
public class MonHocBUS
{
	public MonHocBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    private MonHocDAO monhocdao = new MonHocDAO();
    public MonHocDTO getMonHoc(string ma)
    {
        return monhocdao.getMonHoc(ma);
    }
    public DataTable LayDanhSachMonHoc()
    {
        return monhocdao.LayDanhSachMonHoc();
    }
    public DataTable getBangMonHocChiTiet(int bomon)
    {
        return monhocdao.getBangMonHocChiTiet(bomon);
    }
    public DataTable getBangMonHocTienQuyetChiTiet(string mamonhoc)
    {
        return monhocdao.getBangMonHocTienQuyetChiTiet(mamonhoc);
    }
    public ArrayList LayMang_MonHoc()
    {
        return monhocdao.LayMang_MonHoc();
    }
    public Boolean insert(MonHocDTO monhocdto)
    {
        return monhocdao.insert(monhocdto);
    }
    public void delete(string mamon)
    {
        monhocdao.delete(mamon);
    }
    public void update(MonHocDTO monhocdto)
    {
        monhocdao.update(monhocdto);
    }
}
